﻿<%@ Page Title="" Language="C#" MasterPageFile="~/OuterInfo/OuterInfo.Master" AutoEventWireup="true" CodeBehind="OuterInfoDistribute.aspx.cs" Inherits="QuaManSys.OuterInfo.OuterInfoDistribute" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link rel="Stylesheet" type="text/css" href="../Css/QuaInfoPro.css" />
    <link href="../Css/QuaInfoFd.css" rel="stylesheet" type="text/css" />
    <script language="javascript" type="text/javascript" src="../Calendar/WdatePicker.js"></script>
    <script language="javascript" type="text/javascript" src="../CheckBox/checkBoxFunction.js"></script>
    <script type="text/javascript">
        document.title = "外部质量信息分发";

        function checkTime() {
            var fbkt = document.getElementById("<%=fdbktime.ClientID %>").value;
            var clst = document.getElementById("<%=lblCusRT.ClientID %>").value;
            if (fbkt == null || fbkt == "") { alert("请输入反馈时间"); return false; }
            if (clst == null || clst == "") { alert("请输入顾客要求闭环时间"); return false; }
            return true;
        }
        function clickSubmit() {
            var prot = document.getElementById("<%=txtProDL.ClientID %>").value;
            var projNo = document.getElementById("<%=ddlProNo.ClientID %>").value;
            if (prot == null || prot == "") { alert("请输入处理时限"); return false; }
            return confirm("分发后将不能修改，你确定要分发？");

        }



    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphInner" runat="server">
 <div id="keyWordsDiv" style="border: 2px solid #6FA1D9; display: none; position: absolute;
        top: 0px; left: 0px; width: 260px; height:auto; z-index: 3; background-color: #EAF1FD;">
        <div style="width: 260px; height: 20px; background-color: #6FA1D9">
            <ul style="cursor: pointer; line-height: 20px;">
                <li style="float: left" onclick="getCheckVale('<%=cblKeyWords.ClientID %>', '<%=txtKeyWords.ClientID %>')">[确定]</li>
                <li style="float: right" onclick="closeSelf('<%=cblKeyWords.ClientID %>')">[关闭]</li>
            </ul>
        </div>
        <div>
            <asp:CheckBoxList ID="cblKeyWords" runat="server" RepeatColumns="2" style="width:260px">
            </asp:CheckBoxList>
        </div>
    </div>

    <asp:MultiView ID="MultiView1" runat="server" ActiveViewIndex="0">
        <asp:View ID="RegistA" runat="server">
            <div>
                <div style="text-align: center;">
                    <b>质量信息反馈单</b></div>
                <div>
                    
                    <div class="cssdiv">
                        <asp:Label ID="Label5" runat="server" Text="反馈单位" CssClass="leftcolumn"></asp:Label>
                        <asp:TextBox ID="lblFdCom" runat="server" class="twentypercentcolumn"></asp:TextBox>
                        <asp:Label ID="Label6" runat="server" Text="反馈人" CssClass="fifteenpercentcolumn"></asp:Label>
                        <asp:TextBox ID="txtFdPer" runat="server" class="fifteenpercentcolumn"></asp:TextBox>
                        <asp:Label ID="Label7" runat="server" Text="反馈时间" CssClass="fifteenpercentcolumn">
                        </asp:Label>
                        <asp:TextBox ID="fdbktime" runat="server" CssClass="Wdate" onclick="WdatePicker()"></asp:TextBox>
                    </div>
                    <div class="cssdiv">
                        <asp:Label ID="Label8" runat="server" Text="处理要求" CssClass="leftcolumn"></asp:Label>
                        <asp:RadioButtonList ID="ProcssComd" runat="server" CssClass="ddlcolumn" RepeatLayout="Flow" RepeatColumns="3">
                            <asp:ListItem Text="需协调处理">
                            </asp:ListItem>
                            <asp:ListItem Text="已处理，需在后续产品上改进">
                            </asp:ListItem>
                            <asp:ListItem Text="已处理，供阅知">
                            </asp:ListItem>
                        </asp:RadioButtonList>
                    </div>
                    <div class="cssdiv">
                        <fieldset>
                            <legend>顾客信息描述</legend>
                            <div>
                                <asp:Label ID="Label9" runat="server" Text="顾客公司" CssClass="div25per" Height="16px"></asp:Label>
                                <asp:TextBox ID="lblCusCo" runat="server" class="div25per"></asp:TextBox>
                                <asp:Label ID="Label10" runat="server" Text="相关方公司名称" CssClass="div25per"></asp:Label>
                                <asp:TextBox ID="lblRelCo" runat="server" class="div25per"></asp:TextBox>
                            </div>
                            <div>
                                <asp:Label ID="Label11" runat="server" Text="顾客姓名" CssClass="div25per"></asp:Label>
                                <asp:TextBox ID="lblCusNam" runat="server" class="div25per"></asp:TextBox>
                                <asp:Label ID="Label12" runat="server" Text="顾客角色" CssClass="div25per"></asp:Label>
                                <asp:TextBox ID="lblCusRol" runat="server" class="div25per"></asp:TextBox>
                            </div>
                            <div>
                                <asp:Label ID="Label13" runat="server" Text="联系方式" CssClass="div25per"></asp:Label>
                                <asp:TextBox ID="lblCusTel" runat="server" class="div75per"></asp:TextBox>
                            </div>
                            <div>
                                <asp:Label ID="Label14" runat="server" Text="顾客要求闭环时间" CssClass="div25per"></asp:Label>
                                <asp:TextBox ID="lblCusRT" runat="server" CssClass="Wdate" onclick="WdatePicker()"></asp:TextBox>
                            </div>
                            <div>
                                <asp:Label ID="Label15" runat="server" Text="顾客对此事态度" CssClass="div25per"></asp:Label>
                                <span>
                                    <asp:RadioButtonList ID="CareLevel" runat="server" CssClass="ddlcolumn" RepeatLayout="Flow" RepeatColumns="3">
                                        <asp:ListItem Text="一般">
                                        </asp:ListItem>
                                        <asp:ListItem Text="关注">
                                        </asp:ListItem>
                                        <asp:ListItem Text="非常关注">
                                        </asp:ListItem>
                                    </asp:RadioButtonList>
                                </span>
                            </div>
                            <div>
                                <asp:Label ID="Label4" runat="server" Text="其他信息" CssClass="div25per"></asp:Label>
                                <asp:TextBox ID="TextBox4" runat="server" TextMode="MultiLine" CssClass="div75per"></asp:TextBox>
                            </div>
                        </fieldset>
                        <div class="cssdiv">
                            <asp:Label ID="Label1" runat="server" Text="质量信息描述" Class="leftcolumn"></asp:Label>
                            <asp:TextBox ID="TextBox2" runat="server" TextMode="MultiLine" CssClass="eightypercentcolumn"></asp:TextBox>
                        </div>
                        <div class="cssdiv">
                            <asp:Label ID="Label2" runat="server" Text="顾客要求或建议处置方案" Class="leftcolumn"></asp:Label>
                            <asp:TextBox ID="TextBox3" runat="server" TextMode="MultiLine" CssClass="eightypercentcolumn"></asp:TextBox>
                        </div>
                        <div class="cssdiv">
                            <div class="cssdiv" style="float: left;">
                                <asp:Label ID="Label3" runat="server" Text="建议后继处理要求" Class="leftdivcolumn"></asp:Label>
                            </div>
                            <div style="float: left;">
                                <asp:RadioButtonList ID="CustmReq" runat="server" RepeatLayout="Flow" >
                                    <asp:ListItem Text="需从技术方面进一步向顾客说明">
                                    </asp:ListItem>
                                    <asp:ListItem Text="需从质量管理方面进一步向顾客说明">
                                    </asp:ListItem>
                                    <asp:ListItem Text="需启动顾客关系修复流程">
                                    </asp:ListItem>
                                    <asp:ListItem Text="不需要后续处理，请从下面文本框说明">
                                    </asp:ListItem>
                                    
                                    
                                </asp:RadioButtonList>
                                <asp:TextBox ID="instruction" runat="server"></asp:TextBox>
                            </div>
                        </div>
                    </div>
                    <div class="cssdiv">
                        <asp:Button ID="nextstep" runat="server" Text="下一页》" OnClick="nextstep_Click" OnClientClick="return checkTime()" />
                    </div>
                </div>
            </div>
        </asp:View>
        <asp:View ID="View1" runat="server">
            <div style="text-align: center">
                <label id="lblQuaInfoPro">
                    质量信息处理表</label></div>
            <fieldset>
                <div>
                    编号：
                    <asp:Label ID="lblQuaInfoProNo" runat="server"></asp:Label>
                </div>
                <div>
                    <fieldset>
                        <div>
                            <div>
                                <label for="lblInfoCla" class="twenty">
                                    信息类别</label>
                                <asp:DropDownList ID="txtInfoCla" runat="server" class="forty-eight">
                                    <asp:ListItem Text="顾客抱怨"></asp:ListItem>
                                    <asp:ListItem Text="紧急质量问题"></asp:ListItem>
                                    <asp:ListItem Text="常规质量问题"></asp:ListItem>
                                    <asp:ListItem Text="改进建议"></asp:ListItem>
                                    <asp:ListItem Text="接待问题"></asp:ListItem>
                                </asp:DropDownList>
                                <label for="lblImpLev" class="sixteen">
                                    重要级别</label>
                                <asp:DropDownList ID="txtImpLev" runat="server" class="sixteen">
                                    <asp:ListItem Text="高"></asp:ListItem>
                                    <asp:ListItem Text="中"></asp:ListItem>
                                    <asp:ListItem Text="低"></asp:ListItem>
                                </asp:DropDownList>
                            </div>
                            <div>
                                <label for="lblMacTyp" class="twenty">
                                    机型</label><asp:Label ID="txtlblMacTyp" runat="server" Text="txtMacTyp"></asp:Label>
                                <%--        <asp:TextBox ID="txtMacTyp" runat="server" class="sixteen" Text=></asp:TextBox>--%>
                                <label for="lblMacNo" class="sixteen">
                                    机号</label><asp:Label ID="txtlblMacNo" runat="server" Text="Label"></asp:Label>
                                <%--<asp:TextBox ID="txtMacNo" runat="server" class="sixteen"></asp:TextBox>--%>
                                <label for="lblProNo" class="sixteen">
                                    工程编号</label><asp:DropDownList ID="ddlProNo" runat="server" class="sixteen" AutoPostBack="True"
                                        OnSelectedIndexChanged="ddlProNo_SelectedIndexChanged">
                                        <%--<asp:ListItem Selected="True" Text="请选择"></asp:ListItem>--%>
                                    </asp:DropDownList>
                            </div>
                            <div>
                                <label for="lblComponent" class="twenty">
                                    零部件</label><asp:TextBox ID="txtComponent" runat="server" class="forty-eight"></asp:TextBox>
                                <label for="lblFaiTyp" class="sixteen">
                                    故障类型</label><asp:TextBox ID="txtFaiTyp" runat="server" class="sixteen"></asp:TextBox>
                            </div>
                            <div>
                                <label for="lblManufac" class="twenty">
                                    生产厂家</label><asp:TextBox ID="txtManufac" runat="server" class="eighty"></asp:TextBox>
                            </div>
                            <div>
                                <label for="lblPjCls" class="twenty">
                                    项目分类</label><asp:TextBox ID="txtPjCls" runat="server" class="thirty"></asp:TextBox>
                                <label for="lblPjNam" class="twenty">
                                    名称</label><asp:TextBox ID="txtPjNam" runat="server" class="thirty"></asp:TextBox>
                            </div>
                            <div>
                                <label for="lblDepRes" class="twenty">
                                    责任部门</label><asp:DropDownList ID="ResponDept" runat="server" class="twenty">
                                    </asp:DropDownList>
                                <label for="lblProDL" class="twenty">
                                    处理时限</label>
                                <asp:TextBox ID="txtProDL" runat="server" CssClass="Wdate" onclick="WdatePicker()"></asp:TextBox>
                            </div>
                            <div>
                                <label for="lblDepFoc" class="twenty">
                                    关注部门</label>
                                <asp:TextBox ID="txtKeyWords" runat="server" class="inp" onclick="locking(this)" Style="width: 130px;"></asp:TextBox> 
                            </div>
                            <div>
                                <label for="lblInfoDsc" class="twenty">
                                    描述</label><asp:TextBox ID="txtInfoDsc" runat="server" class="eighty" TextMode="MultiLine"></asp:TextBox>
                            </div>
                            <div>
                                <label for="lblInfoCls" class="twenty">
                                    信息分类</label>
                                <asp:RadioButtonList ID="InfoCls" runat="server" RepeatLayout="Flow" RepeatColumns="2">
                                    <asp:ListItem Text="已处理（需后继关注）">
                                    </asp:ListItem>
                                    <asp:ListItem Text="未处理（需跟踪解决）">
                                    </asp:ListItem>
                                </asp:RadioButtonList>
                            </div>
                            <div>
                                <label for="lblReqAdv" class="twenty">
                                    处理要求和意见</label><asp:TextBox ID="txtReqAdv" runat="server" class="eighty" TextMode="MultiLine"></asp:TextBox>
                            </div>
                            <div>
                                <label for="lblReqRsl" class="twenty">
                                    信息处理结果</label><asp:TextBox ID="txtReqRsl" runat="server" class="eighty" TextMode="MultiLine"></asp:TextBox>
                            </div>
                            <div>
                                <label for="lblProCmm" class="twenty">
                                    质量信息处理评价</label><asp:TextBox ID="txtProCmm" runat="server" class="eighty" TextMode="MultiLine"></asp:TextBox>
                            </div>
                        </div>
                    </fieldset>
                </div>
                <div>
                    <asp:Button ID="prestep" runat="server" Text="上一页《" OnClick="prestep_Click" />
                    <asp:Button ID="save" runat="server" Text="保存" />
                    <asp:Button ID="uploadAttatch" runat="server" Text="上传附件" />
                    <asp:Button ID="submit" runat="server" Text="分发" OnClientClick="return clickSubmit()"
                        OnClick="submit_Click" />
                </div>
            </fieldset>
        </asp:View>
    </asp:MultiView>
</asp:Content>
